#include <string.h>
#include <jni.h>

typedef void(*cam_cb)(unsigned char status);

extern void CamUsbStatusChanged(cam_cb func);
extern int CamUsbWriteCmd (unsigned char *cmd_buffer, int data_len, int timeout);
extern int CamUsbReadCmd (unsigned char *cmd_buffer, int *data_len, int timeout);
extern int CamUsbReadTsData(unsigned char *ts_buffer, int *data_len, int timeout);
extern int CamUsbWriteTsData(unsigned char *ts_buffer, int *data_len, int timeout);
extern int CamUsbStatusChangedNotify(unsigned char u8Status, int s32Fd) ;

